package xyz.ddlnt.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/24 19:30
 */
@Schema( description = "帖子的子节点信息")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ChildNode implements Serializable {
    @Schema(description = "子节点id")
    private Long id;
    @Schema(description = "子节点用户 id")
    private Long userId;
    @Schema(description = "子节点标题")
    private String postContent;
    @Schema(description = "子节点浏览人数")
    private Integer viewCount;
}
